s = 'AbcDeFGhIJ'
count = 0
for i in s:
    for j in s.lower():
        if i==j:
            count+=1
print(count)
